#!/usr/bin/env bash

echo 'start harmonious deploying...'

# 阿拉伯数字18作为异常退出码
check='[ $? -eq 0 ] || exit 18'

# install and build
eval "$check" && echo '安装docker'
eval "$check" && bash ../install/docker.sh
eval "$check" && docker-compose up

eval "$check" && echo "finish harmonious deploying！！！"

